package com.zl.dao;

import com.zl.domain.Privilege;
import com.zl.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserDao extends BaseDao<User> {

    public Map<String, Object> login(User user);

    public int delUser(String username);

    public Map<String, Object> findUser(User user);

    public List<Privilege> findPrivileges(@Param("rid") String rid);
}
